/*
 * @Description:
 * @Author: gaoyunpeng
 * @Date: 2022-01-21 10:34:27
 * @LastEditors: gaoyunpeng
 */
import Vue from 'vue'
import App from './App'
import store from './store'
import router from './router'
import 'normalize.css/normalize.css' // A modern alternative to CSS resets

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import locale from 'element-ui/lib/locale/lang/en' // lang i18n
import dataV from '@jiaminghi/data-view'
import '@/styles/index.scss'
import '@/utils/rem.js'
import '@/icons' // icon
import '@/permission'
import directives from './directives/index'
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
Vue.use(dataV) // permission control
Vue.use(directives)
Vue.use(ElementUI, { locale })

Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  render: (h) => h(App)
})
